package android.slc.extras.component.webview

import android.app.Application
import android.os.Bundle
import android.slc.appbase.utils.AppIntentUtils
import android.slc.appbase.vm.AppBaseViewModel
import android.slc.core.vm.SingleLiveEvent

/**
 * @author slc
 * @date 2024/8/7
 **/
class AppWebViewVm(application: Application) : AppBaseViewModel(application) {

    val urlLd = SingleLiveEvent<String>()

    fun initVm(bundle: Bundle) {
        urlLd.value = AppIntentUtils.getDataByBundle(bundle)
    }
}